package org.devocean.groupbuying.dao;

import java.util.List;
import java.util.Set;

import org.devocean.groupbuying.domain.Purchase;

public interface PurchaseDAO {

	List<Purchase> findAllPurchases();
	
	List<Purchase> findPurchasesByCustomer(Integer customerID);

	long countPurchase();

	Purchase findPurchaseById(Integer id);

	void deletePurchase(int id);

	Purchase savePurchase(Purchase purchase);

	Purchase updatePurchase(Purchase purchase);

	List<Purchase> findPurchasesByCustomer(Integer customerID, String lang);

	Long countPurchaseByCustomer(Integer customerID);

}
